std::deque::swap
From Cppreference
| void swap( deque& other );
| ||
Exchanges the contents of the container with those of other. All iterators and references remain valid.
Contents |
Parameters
| other | - | container to exchange the contents with |
Return value
(none)
Complexity
linear in size of the container.
See also
| This section is incomplete |